<?php
    /**
     * User zgh
     * Email 1803897171@qq.com
     * Date 2021/7/13
     **/

    namespace app\admin\validate;


    use think\Validate;

    class LoginValidate extends Validate
    {
        protected $rule = [
            'username|用户名' => 'require|max:25',
            'password|密码' => 'require',
            'captcha|验证码' => 'require|captcha'
        ];

    }